<!-- 我的基础 -->

<template>
  <div>
    <MajorTitle title="基本信息">
      <ShowStatus bind="status" noLabel auto />
    </MajorTitle>

    <EasyRow col2>
      <ShowText label="演练名称" bind="name" />
      <ShowText label="负责人" bind="leaderName" />
    </EasyRow>

    <EasyRow col2>
      <ShowTime label="开始时间" bind="beginTime" noSecond />
      <ShowTime label="结束时间" bind="endTime" />
    </EasyRow>

    <EasyRow col2>
      <ShowDict label="事件类型" bind="planTypeId, planTypeName" :dict="CORE.DICT.preplan_type" />
    </EasyRow>

    <ShowDict label="预案名称" bind="planId, planName" :dict="preplan_selectDict" isBtn @click="windowDetail" />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyBase',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixDetailToTable('', 'DetailEmergencyPreplan'), CORE.mixSelect('preplan', 'preplan_')],
}
</script>
